import request from '@/util/request'

export function listProductTemplateDevice(data) {
  return request({
    url: '/iot/product/template/device/list',
    method: 'post',
    data
  })
}

export function pageGetProductTemplateDevice(data) {
  return request({
    url: '/iot/product/template/device/pageGet',
    method: 'post',
    data
  })
}

export function insertProductTemplateDevice(data) {
  return request({
    url: '/iot/product/template/device/insert',
    method: 'post',
    data
  })
}

export function updateProductTemplateDevice(data) {
  return request({
    url: '/iot/product/template/device/update',
    method: 'post',
    data
  })
}

export function deleteProductTemplateDevice(data) {
  return request({
    url: '/iot/product/template/device/delete',
    method: 'post',
    data
  })
}

export function copyProductTemplateDevice(data) {
  return request({
    url: '/iot/product/template/device/copy',
    method: 'post',
    data
  })
}

